<script setup lang="ts">
import { RouterView } from 'vue-router'
import {useUserStore} from "@/stores/user.ts";
import {onMounted} from "vue";
const userStore = useUserStore()
const getCurrentUser = () => {
  userStore.getLoginUser()
}
onMounted(() => {
  getCurrentUser()
})
</script>

<template>
  <RouterView />
</template>

<style>
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif;
}

#app {
  height: 100%;
}
</style>
